package com.zc.study.designPattern.结构型设计模式.proxyPattern;

public class Test {
    public static void main(String[] args) {
        Searcher searcher;//针对抽象编程,客户端无需分辨真实主题类和代理类
        searcher = new ProxySearcher();
        String result = searcher.doSearch("杨过","玉女心经");
    }
}
